<template>
  <div class="main_left_bottom" ref="leftBottom">
    <div class="main_left_bottom_top">
      <span class="title">活动效果</span>
    </div>
    <div class="sixBox_mian">
      <div class="item" v-for="item in data" :key="item.type">
        <div class="top">
          <span>{{ item.type }}</span>
        </div>
        <div class="bottom">
          <h2>{{ item.data }}</h2>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "main_left_bottom",
  props: {
    data: {
      type: Array,
      default: () => {
        return [
          { data: "18045/17670", type: "发券人数/用券人数" },
          { data: "18045/17670", type: "发券张数/用券张数" },
          { data: "18045/17670", type: "参加商户数/新用户数" },
          { data: "18045/17670", type: "总交易金额/额单价" },
          { data: "18045/17670", type: "使用转换率/成本转换率" },
          { data: "18045/17670", type: "使用金额/剩余成本" },
        ];
      },
    },
  },
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>

<style scoped lang="css">
.main_left_bottom {
  position: relative;
  height: 100%;
  width: 100%;
}
.main_left_bottom_top {
  height: 100%;
  background-image: url("../../../assets/5r678Fx1_1583817896809_okN8qlk6u.png");
  background-repeat: no-repeat;
  background-size: 729px 46px;
}
.main_left_bottom .title {
  font-family: SourceHanSansCN-Bold;
  font-size: 20px;
  font-weight: normal;
  text-align: left;
  letter-spacing: 4px;
  line-height: 44px;
  color: #fff;
  text-shadow: rgb(84 76 255) 0px 0px 8px;
}
.sixBox_mian {
  position: absolute;
  top: 40px;
  left: 0;
  display: flex;
  /* height: 100%; */
  min-height: 150px;
  flex-wrap: wrap;
  padding: 10px;
}
.sixBox_mian .item {
  background-image: url("../../../assets/8fE0Ocjkn_1584603668546_2keh-lAtbN.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 28%;
  padding: 0px 10px;
  text-align: center;
  margin: 5px;
  display: flex;
  flex-direction: column;
}
.sixBox_mian .item .top {
  flex: 1;
  text-align: center;
  color: #8e90e9;
}
.sixBox_mian .item .bottom {
  flex: 3;
  text-align: center;
  line-height: 60px;
  color: #fff;
}
</style>
